package cn.snowheart.factory.abstractfactory;

import cn.snowheart.factory.component.AMDCPU;
import cn.snowheart.factory.component.AMDGPU;
import cn.snowheart.factory.component.Component;

/**
 * @author liuwanxiang
 * @version 2019/07/01
 */
public class AMDComponentFactory implements ComponentAbstractFactory {
    @Override
    public Component createCPU() {
        return new AMDCPU();
    }

    @Override
    public Component createGPU() {
        return new AMDGPU();
    }
}
